package ee.maoinvest.backend.services;

import java.sql.Date;
import java.util.List;
import ee.maoinvest.backend.model.data.Enterprise;

public interface EnterpriseService 
{
	public int insertEnterprise(Enterprise enterprise);
	public Enterprise getEnterpriseById(int enterpriseID);
	public List<Enterprise> getAllEnterprisesThatAreNotWrittenOff();
	public int updateEnterprise(Enterprise enterprise);
	public int deleteEnterprise(int enterpriseID);
	
	public List<Enterprise> getAllEnterprisesThatExistedBetweenDatesGivenRegularReadingsTookPlace(
			Date minDateRegularReadingWasTaken, Date maxDateRegularReadingWasTaken);
}
